package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

/**
 * @author FangKun
 * @create 2024-04-10-14:55
 */
public interface ShoppingCartService extends IService<ShoppingCart> {
    void add(ShoppingCartDTO shoppingCartDTO);

    List<ShoppingCart> shoppingCartList();

    void cleanShoppingCart();

    void sub(ShoppingCartDTO shoppingCartDTO);
}
